package com.logic.landseaserver.persistence.read;


import com.logic.landseaserver.domain.Survey;
import com.logic.landseaserver.ws.dto.SurveyDTO;

public interface SurveyReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Survey record);

    int insertSelective(Survey record);

    Survey selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Survey record);

    int updateByPrimaryKey(Survey record);
    
    SurveyDTO selectBySurveyCode(String surveyCode);
}